MachineConfiguration

Describes the number of vCPUs, memory size, Hyperthreading capabilities and the CPU template.

Constructors

this
this(FirecrackerAPIClient cl)

Get the microVM's config via the Firecracker API.

Members

Functions

patch
bool patch(FirecrackerAPIClient cl)

Partially updates the Machine Configuration of the VM. Pre-boot only.

put
bool put(FirecrackerAPIClient cl)

Modify the microVM's configuration via the Firecracker API. * Throws: FirecrackerException on error.

Mixins

__anonymous
mixin BaseModel
Undocumented in source.

Variables

cpuTemplate
CPUTemplate cpuTemplate;

CPU Template to use for default options

htEnabled
bool htEnabled;

Option to enable hyperthreading for the guest

memSizeMib
long memSizeMib;

Guest's memory size in MiB

trackDirtyPages
bool trackDirtyPages;

Enable dirty page tracking

vcpuCount
long vcpuCount;

Amount of vCPUs given to the guest

Mixed In Members

From mixin BaseModel

stringify
string stringify()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta